OQL: A Query Language for Manipulating Object-oriented Databases
نویسندگان
چکیده
An essential property which is desirable in a query language designed for a certain data model is that queries issued in that language must produce results that are structured and modeled using the same data msdel. A consequence of maintaining this property in a query language is that the result of a query can be used as an operand in sc+ne other query (or queries) or can bs saved as a user's view. Existing query languages that have been designed for the class of object-oriented data models do not posses this property. In this paper, we introduce the object-oriented query language (CQL), which maintains this property. An CQL query is considered as a function, which when applied to a database, returns a s&database whose structure consists of sane selected object classes and their associations. Ihe objects that satisfy the search conditions and participate in the patterns of object associations specified in the query constitute the eXtenSiOn of the resulting subdatabase. A subdatabase folms a "context" under which systemdefined and/or user defined operations can be specified and performsd. Several advanced features such as branching association patterns and set operations on subdatabases are also presented.
منابع مشابه
Updates and Non-Determinism in Object-Oriented Databases
While the topic of object-oriented databases is by now fairly mature { a standard for data deenition and query languages has been developed 10] { the question of updates has largely been ignored. Updates on object-oriented databases are relegated to methods, which are written in third-generation languages such as C++ and therefore appear as \black boxes" to the query processor. This poses two p...
متن کاملODMQL: Object Data Mining Query Language
Data mining is the discovery of knowledge and useful information from the large amounts of data stored in databases. The emerging data mining tools and systems lead to the demand of a powerful data mining query language. The concepts of such a language for relational databases are discussed in [11]. With the increasing popularity of object-oriented databases, it is important to design a data mi...
متن کاملP-OQL: an OQL-oriented Query Language for Pcte
This paper presents P-OQL (Pcte-Object-QueryLanguage) a domain-oriented query language for Pcte. Pcte is the ECMA standard for a public tool interface (PTI) for system development environments (SDE) and includes as one of its major components a structurally object-oriented object management system (OMS). Whereas the ECMA standard is only concerned with navigational access to the object base, ex...
متن کاملTowards a Unified Query-by-Example (UQBE): UML as a Basis for a Generic Graphical Query Language
A generic graphical query language for ODMG-compliant object databases is proposed, based on the ideas of Query-By-Example, and using UML-like diagrams as schema notation. Ease of learning for users coming from the relational world and support for non object-oriented data sources are also considered as design goals. The overall layout of the query language is described, illustrating its potenti...
متن کاملObject-Oriented Standards: Can ODMG OQL be Extented to a Programming Language?
OQL is a query language proposed in the standard ODMG-93 as a tool for declarative access to object bases. We argue that bindings of OQL to universal programming languages (C++, Smalltalk, Java) must inevitably lead to the infamous impedance mismatch that was one of the major points of criticism of relational languages by the object-oriented school. This criticism to a big extent is not relevan...
متن کامل